<?php
return array(
	'SITENAME'=>'PTCMS工作室',
	'CACHE_PREFIX'=>'ptcmsweb',

	'URL_RULES'=>array(
		'index.article.list'=>'/{dir}[/{key}][/{page}]',
	),

	'URL_ROUTER'=>array(
		'^(news|course)$'=>'index/article/list?module',
	),
	// 数据库信息
	'DB_MYSQL' => array(
		'DRIVER' => 'Pdo',
		'PREFIX' => 'ptsite_',
		'CHARSET' => 'utf8',
		'MASTER' => array(
			array(
				'HOST' => '127.0.0.1',
				'PORT' => '3306',
				'NAME' => 'ptsite',
				'USER' => 'root',
				'PWD' => 'root'
			)
		),
		'SLAVE' => array(
		),
	),
	'allow_module'=>'admin'
);